package cn.gson.school.service.jiaoxue;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.gson.school.dao.jiaoxue.StudentDao;
import cn.gson.school.entity.jiaoxue.StudentEntity;

@Service
public class StudentService {

	@Autowired
	private StudentDao studentDao;
	
	public StudentEntity findByStudentName(String name) {
		return studentDao.findByStudentName(name);
	}
}
